<?php

@require_once("bin/data.php");
@session_start();
$user = getUser(@$_SESSION['userid']);
$userid = $user['id'];
//include ("bin/reqvars.php");
//$t = stripslashes($t);

$link = <<<EOF
EOF;

$title = "Welcome";

$header = <<<EOF
Use this area to put a header on content.
EOF;

$content = <<<EOF
This is the content section.
EOF;
$content = <<<EOF
<div id="channel_categories">
EOF;
	$query = null;

	if (isset($_REQUEST['q']))
	{
		$query = mysql_real_escape_string($_REQUEST['q']);
		unset($_SESSION["query"]); 
		$_SESSION["query"] = $query;
	}
	$subcontent = getFormattedRecordList($query, null, $userid);
	$content= $content.$subcontent;


$content = $content."</div>";
include ("base.php");
echo $html;

?>
